package com.bzy.shiro.bean;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;

public class UserToken implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4825957313877435739L;

	private String userid;
	private String username;
	private transient String password;

	public UserToken(String userid) {
		super();
		this.userid = userid;
	}

	public UserToken(String userid, String username, String password) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = password;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return JSON.toJSONString(this);
	}

}
